From: Colin Walters Date: Wed, 9 Sep 2009 21:28:52 +0000 (-0400) Subject: Actually update well menu filtering for review messages X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~10937 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=913aeae166631396251cf0faee808d1db5bef85e;p=gnome-shell.git Actually update well menu filtering for review messages My updates got lost due to accidentally being on a rebase branch. --- diff --git a/js/ui/overview.js b/js/ui/overview.js index 1747da276..4f50e6fe8 100644 --- a/js/ui/overview.js +++ b/js/ui/overview.js @@ -399,16 +399,16 @@ Overview.prototype = { /** - * beginApplicationWindowSelection: + * setApplicationWindowSelection: * @appid: Application identifier string * - * Enter a mode which shows only the widnows owned by the + * Enter a mode which shows only the windows owned by the * given application, and allow highlighting of a specific * window with setHighlightWindow(). */ - beginApplicationWindowSelection: function (appid) { + setApplicationWindowSelection: function (appid) { if (this._workspaces) - this._workspaces.beginApplicationWindowSelection(appid); + this._workspaces.setApplicationWindowSelection(appid); }, //// Private methods //// diff --git a/js/ui/workspaces.js b/js/ui/workspaces.js index a7707472a..5bd33a929 100644 --- a/js/ui/workspaces.js +++ b/js/ui/workspaces.js @@ -1081,8 +1081,6 @@ Workspaces.prototype = { _init : function(width, height, x, y) { this.actor = new Clutter.Group(); - this._appIdFilter = null; - this._width = width; this._height = height; this._x = x; @@ -1158,7 +1156,8 @@ Workspaces.prototype = { } }, - beginApplicationWindowSelection: function (appId) { + // See comments in overview.js + setApplicationWindowSelection: function (appId) { let appSys = Shell.AppMonitor.get_default(); let showOnlyWindows; @@ -1171,7 +1170,6 @@ Workspaces.prototype = { } else { showOnlyWindows = null; } - this._appIdFilter = appId; for (let i = 0; i < this._workspaces.length; i++) { this._workspaces[i].setLightboxMode(showOnlyWindows != null); this._workspaces[i].setShowOnlyWindows(showOnlyWindows);